package com.ruoyi.bizsys.service;

import java.util.List;

import com.ruoyi.bizsys.domain.LoanDeferredOrder;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.bizsys.vo.LoanDeferredOrderWebVo;

/**
 * 用户借据延期记录orderService接口
 *
 * @author wqg
 * @date 2022-06-09
 */
public interface ILoanDeferredOrderService extends IService<LoanDeferredOrder> {
    /**
     * 查询用户借据延期记录order
     *
     * @param id 用户借据延期记录orderID
     * @return 用户借据延期记录order
     */
    public LoanDeferredOrder selectLoanDeferredOrderById(Long id);

    /**
     * 查询用户借据延期记录order列表
     *
     * @param loanDeferredOrder 用户借据延期记录order
     * @return 用户借据延期记录order集合
     */
    public List<LoanDeferredOrderWebVo> selectLoanDeferredOrderList(LoanDeferredOrder loanDeferredOrder);

    /**
     * 新增用户借据延期记录order
     *
     * @param loanDeferredOrder 用户借据延期记录order
     * @return 结果
     */
    public int insertLoanDeferredOrder(LoanDeferredOrder loanDeferredOrder);

    /**
     * 修改用户借据延期记录order
     *
     * @param loanDeferredOrder 用户借据延期记录order
     * @return 结果
     */
    public int updateLoanDeferredOrder(LoanDeferredOrder loanDeferredOrder);

    /**
     * 批量删除用户借据延期记录order
     *
     * @param ids 需要删除的用户借据延期记录orderID
     * @return 结果
     */
    public int deleteLoanDeferredOrderByIds(Long[] ids);

    /**
     * 删除用户借据延期记录order信息
     *
     * @param id 用户借据延期记录orderID
     * @return 结果
     */
    public int deleteLoanDeferredOrderById(Long id);
}
